<?php
require_once 'common.inc.php';
header("Content-type: text/html; charset=utf-8"); 
$filename="../push/filter.php";//字典文件
 if ('show'==$action)
{
	$fp=fopen($filename,'wb+');
	if($fp)
	{
		fwrite($fp,'1');
		fclose($fp);
		adminmsg('显示热门种子设置成功');
	}
	else
		adminmsg('显示热门种子设置失败');
}
elseif ('hide'==$action)
{
	$fp=fopen($filename,'wb+');
	if($fp)
	{
		fwrite($fp,'2');
		fclose($fp);
		adminmsg('隐藏热门种子设置成功',"");
	}
	else
		adminmsg('隐藏热门种子设置失败',"");
	
}


?>